<%--
  Created by IntelliJ IDEA.
  User: 12
  Date: 2023/3/11
  Time: 13:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--1. 引入jquery--%>
<script src="/webjars/jquery/3.6.1/jquery.min.js"></script>
<%--2. 引入bootstrap--%>
<link rel="stylesheet" href="/webjars/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="/webjars/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<style>
    .table{
        text-align: center;
    }
    .pagination{
        padding: 0;
        margin: 0;
    }
</style>
<html>
<head>
    <title>查询学生信息</title>
</head>
<body>
    <div class="container">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h3 class="panel-title">
                    <h3>列表学生相关信息</h3>
                </h3>
            </div>
            <table class="table">
                <tr>
                    <td>学生姓名</td>
                    <td>课程名称</td>
                    <td>年龄范围</td>
                    <td>家庭住址</td>
                    <td>分数范围</td>
                    <td>操作</td>
                </tr>
                <c:forEach items="${student}" var="stud">
                <tr>
                    <td>${stud.sname}</td>
                    <td>${stud.sex}</td>
                    <td>${stud.age}</td>
                    <td>${stud.addr}</td>
                    <td>${stud.cid}</td>
                    <td>
                        <a href="#" class="btn btn-sm btn-danger">修改</a>
                        <a href="#" class="btn btn-sm btn-danger">删除</a>
                    </td>
                </tr>
                </c:forEach>
            </table>
            <div class="panel-footer text-right">
                考试内容
            </div>
        </div>
    </div>
</body>
</html>
